package info.douyi.dps.mapper;


import info.douyi.dps.model.Bean;
import info.douyi.dps.model.BeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BeanMapper {
    long countByExample(BeanExample example);

    int deleteByExample(BeanExample example);

    int deleteByPrimaryKey(Integer bid);

    int insert(Bean row);

    int insertSelective(Bean row);

    List<Bean> selectByExample(BeanExample example);

    Bean selectByPrimaryKey(Integer bid);

    int updateByExampleSelective(@Param("row") Bean row, @Param("example") BeanExample example);

    int updateByExample(@Param("row") Bean row, @Param("example") BeanExample example);

    int updateByPrimaryKeySelective(Bean row);

    int updateByPrimaryKey(Bean row);
}